﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WpfAppTool
{
    public class Ticket
    {
        public int useTicketType { get; set; } = 1;
        public int poolFlag { get; set; } = 1;
        public int realNameFlag { get; set; } = 1;
        public int platform { get; set; } = 2;
        /// <summary>
        /// 预约人数
        /// </summary>
        public int ticketNum { get; set; }
        /// <summary>
        /// 预约时间 格式：2025-04-24
        /// </summary>
        public string date { get; set; }
        public int childTicketNum { get; set; } = 0;
        public int saleMode { get; set; } = 1;
        public List<ticketInfo> ticketInfoList { get; set; }
        public string p { get; set; } = "wxmini";
    }

    public class ticketInfo
    {

        public int status { get; set; } = 0;
        public int saleMode { get; set; } = 1;
        public int platform { get; set; } = 2;
        public int hallId { get; set; } = 1;
        /// <summary>
        /// 时段：9-11=1，11-13:30=2，13:30-16=3
        /// </summary>
        public int hallScheduleId { get; set; }
        public int cinemaFlag { get; set; } = 0;
        public int ticketPriceId { get; set; } = 8;
        /// <summary>
        /// 证件类型
        /// </summary>
        public string certificate { get; set; } = "1";
        /// <summary>
        /// 身份证号
        /// </summary>
        public string certificateInfo { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string userName { get; set; }
        /// <summary>
        /// 预约时间 格式：2025-04-24 00:00:00
        /// </summary>
        public string useDate { get; set; }
        public int isChildFreeTicket { get; set; } = 0;
        public int realNameFlag { get; set; } = 1;
    }
}
